package edu.stu.cs.software.family.producer.service;

import java.util.List;

import edu.stu.cs.software.family.base.service.GenericManager;
import edu.stu.cs.software.family.producer.domain.Producer;
/**
 * 
 * @author Administrator
 *
 */
public interface ProducerManager extends GenericManager<Producer, Long> {

	/**
	 * Find the name of the business
	 * @param name
	 * @return producer's name
	 */
	List<Producer> findByName(String producerName);
	/**
	 * 
	 * @param phone
	 * @return producer's phone
	 */
	List<Producer> findByPhone(String phone);
	
	Producer findByProducerName(String producerName);
}
